Fixes for currently broken Darwin ppc/ppc64 assembler#204
Fixes for currently broken Darwin ppc/ppc64 assembler#204olk merged 3 commits intoboostorg:developfrom
Conversation
|
ty |
|
maybe fixed by #204 (comment) |
@olk The error reported in that ticket occurs on M1 and seems to be build system-related (judging by the quote at least). Of course, ppc64 should not be built on 10.6+, since no version of 10.6 has ppc64 slices, and 10.7+ has no ppc at all. We may need some minor extra fixes for PPC, I will try to find time for those this week. Just back to my PowerMacs, so finally can test stuff natively and not just in Rosetta. |
|
@olk Looks like this is the fix that is still required: barracuda156@a3b0224 It mirrors existing code in I want to verify that everything works correctly, and after that will submit a PR. |
Existing version of Darwin PPC assembler is broken in Boost. This PR makes an initial fix-up.
;, not#. Corrected everywhere.@plt, which breaks the build.ppc64.I do not really get why FPR env has been removed at some point for
ppc64, while brought back toppc32. Is it just another episode of careless borrowing across ABIs? Here, for example,libcontexthas FPR support inppc64:https://github.com/twlostow/libcontext/blob/master/jump_ppc64_sysv_macho_gas.S
https://github.com/twlostow/libcontext/blob/master/make_ppc64_sysv_macho_gas.S
P. S. @iains If you have a few minutes to take a look, that would be great. We really need functioning context/coroutine libs in Boost on PPC.
This version builds and apparently works: https://github.com/twlostow/libcontext
However it lacks
ontop_ppc*components, and may not match very well with the current Boost ABI.